/*
 * @Description:
 * @Author: Cxy
 * @Date: 2023-04-24 08:29:09
 * @LastEditors: Cxy
 * @LastEditTime: 2024-03-14 10:40:58
 * @FilePath: \blogAdmin\play\src\router\model\error.ts
 */
import type { RouteConfigInter } from '../type'

export default {
  path: '/error',
  meta: {
    icon: 'material-symbols:error-outline',
    title: 'menus.abnormalPage'
  },
  children: [
    {
      path: '404/:errCode(\\d+)?',
      meta: {
        title: '404'
      },
      component: () => import('@/views/error/404.vue')
    },
    {
      path: '500user-:errCode(\\d+)?',
      meta: {
        title: '500'
      },
      component: () => import('@/views/error/500.vue')
    }
  ]
} as RouteConfigInter
